You are here: Chapter 9: Advanced Features > Configuration Management > CMDB Homepage > CMDB Search > Relationships

Relationships

The Relationships tab provides a powerful means to refine searches, allowing you to perform searches as simple as finding "all of the CIs connected to an email server" or as complicated as "all of the CI connected to an email server with 2 Gb of RAM that were created between March 2, 2005 and March 2, 2006 but not made by Vendor X or were made by Vendor X but have Pentium III processors". The Filter on Relationships tab only refines searches on the CI Types you selected on the Choose CI Types page, filtering them based on the relationship criteria that you select.

You can have both an Attributes and a Relationships filter at the same time. Any results would fulfill the criteria of both filters.

Build a Simple Filter

To filter search results based on relationships:

  1. After selecting CI types to search on, select the Relationships tab.
  2. In the Available Related CI Types field, click on the relationship on which you want to base the filter. Only relationships common to all of the returned CIs are listed in the drop-down field. You can also select multiple relationships by using the Shift+left mouse button and/or Ctrl+left mouse button combinations.
  3. Click the top arrow button next to the field to move the selected relationships into the Related CI Types to Filter on field. You can add additional relationships at any time by highlighting them and using the top arrow button. You can also move relationships back by clicking on them and then clicking the second arrow button. Filtering is performed immediately and you can view the results in the Results tab. When you click the arrow button, the Attributes of Related CIs tab becomes active.
  4. To further refine the filtering, click the Attributes of Related CIs tab. To filter on related CI attributes:
    1. In the drop-down field, select the attribute on which you want to base the filter. Only attributes common to all of the returned CIs are listed in the drop-down field.
    2. Select the operation for the search in the second drop-down field. Operations are determined by the type of field you are searching. The following field types allow the following operations:
  1. After selecting the field and then the operation, complete the third field by entering the filter value or values. The third field may be a drop-down field, date field, date/time field, or character field.
    1. After completing the fields, click the Apply button to accept the filter value. When a search is conducted, FootPrints returns the CIs that have the relationships and attributes you selected on this tab. If you click the Results tab at this time, the matching CIs are displayed.

NOTE

Related CIs selected on the Relationships tab do not appear in the Search results. This tab only serves to refine the CIs found from criteria on the CI Types and Attributes tabs based on related CIs.

    1. If you wish to save this search, including the attributes filter you've created, select the Save tab, enter a name and description for the search, and click the Save button. Refer to Saved Searches for details on how to run a search you have saved.

You can return to the Relationships tab at any time to refine the relationships and related CIs selected.

Build More Complicated Filters

You can run searches that filter results based on multiple attributes. In addition, you can nest the filters at varying levels. To do so:

  1. After selecting CI types to search on, select the Relationships tab.
  2. Build a simple search as described in the procedure above.
  3. After clicking the Apply button, click the Add button. The relationship filter you built is displayed with a new Filter Editor below it. The new Filter Editor is connected to the existing filter by a line and the word "AND".
  4. Use the new Filter Editor to build an additional relationships filter per the procedure above. After you click the Apply button, the new filter is displayed below the first filter.
  5. You can continue to build additional levels of filtering in this same manner and use the additional controls to make the new filters "AND" or "OR" filters. You can also drag and drop filters that you have built to change their order and associations.

Refer to the Attributes topic for additional details on building complex filters and the filter controls.